# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
pkgname=font-comic-neue
_pkgname=comicneue
pkgver=2.51
pkgrel=0
pkgdesc="Comic Neue is a font that fixes the shortcomings of Comic Sans"
url="http://comicneue.com/"
arch="noarch"
license="OFL-1.1"
depends="fontconfig"
options="!check" # data files no tests distributed
source="comicneue-$pkgver.tar.gz::https://github.com/crozynski/comicneue/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir/$_pkgname-$pkgver"

package() {
	install -d "$pkgdir/usr/share/fonts/$_pkgname" \
		"$pkgdir"/usr/share/doc/$_pkgname/
	install -t "$pkgdir"/usr/share/fonts/$_pkgname Fonts/OTF/*/*.otf
	install -t "$pkgdir"/usr/share/doc/$_pkgname/ FONTLOG.txt \
		Booklet-ComicNeue.pdf README.md
}

sha512sums="fdeccd7245a6fa2a43ba793252cac1a55da894a08fc69f6013445a94169c3092c833d9ec3ec650f37776ee7187ade2829a37985da96cbc488e59d17cad467e7e  comicneue-2.51.tar.gz"
